package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@ApiModel(description = "添加机构参数")
@Data
public class AddTenantParam {
    @NotBlank(message = "机构名称不可为空")
    @Size(max = 20, message = "{noMoreThan}")
    @ApiModelProperty("机构名称")
    private String name;

    @ApiModelProperty(value = "机构定制站点网址")
    private String siteUrl;
}
